*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-image: linear-gradient(to right,#7d5fff, #7158e2);
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.search{
    height: 50px;
    position: relative;
}
input{
    background-color: #fff;
    font-size: 18px;
    padding: 15px;
    border: 0;
    height: 50px;
    width: 50px;
    transition: width 0.3s ease;
    outline:none;
}
.btn{
    background-color: #fff;
    height: 50px;
    width: 50px;
    border: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: 0;
    outline:none;
}
.search.active input{
    width: 200px;
}
.search.active button{
    transform: translateX(198px);
}
